package com.vstartek.dm.mongo.service;

import java.util.List;

import com.vstartek.dm.mongo.model.Detail;
import com.vstartek.dm.mongo.model.VideoWeb;
import com.vstartek.dm.util.Page;
import com.vstartek.dm.util.PageParam;

public interface VideoWebService {
	
	VideoWeb findById(Object id);
	
	Page<VideoWeb> findByPage(PageParam pageParam,VideoWeb videoWeb);
	
	Page<Detail> findDetailByPage(PageParam pageParam,VideoWeb videoWeb);
	
	VideoWeb saveVideoWeb(VideoWeb videoWeb);
	
	boolean updateVideoWeb(VideoWeb videoWeb);
	
	Detail saveDetail(VideoWeb videoWeb);
	
	boolean updateDetail(VideoWeb videoWeb);
	
	Detail findDetailById(Object id,Object xid);
	
	Detail saveDetail(Object id,Detail detail);
	
	boolean updateDetail(Object id,Detail detail);
	
	List<String> group();
	
	
	

}
